form.test input.sth get.cmd.b64.link

<div class="math"> ss12 min </div>
<div class="mathT"> tt11 </div>

<input type="text" value="sometext" id="input1"/>
<p></p>

<input type="text" value="sometext2" id="input2"/>
<p></p>


  <style>

  p { color:blue; margin:8px; }
  </style>

 v12
http://www.w3.org/TR/html4/interact/forms.html#h-17.7

//////////////////////<br>


 <script src="http://code.jquery.com/jquery-latest.min.js"  type="text/javascript"> </script>
 <script src="http://datatest314.googlecode.com/hg/hxy.base.js"  type="text/javascript"> </script>
 

 <script  type="text/javascript">
 
f2 = function  () {     $(".math").each( f1 );  } 
f1 = function  () { 
    $(this).html( fs (this.innerHTML) );  //sIn.to.sOut change.innerHTML
    }  

fs = function(sIn){
  // return  Base64.decode(sIn) +" after.base64";
  return sIn+" after fs " ;    
 }
 
 
 
$("#input1").keyup(function () {
      var value = $(this).val();
      $("p").text(value+" done");
    });  // .keyup()
       
 //
 
 ////////////////////////
// main pass.document
 
 $().ready(f2 ) ; //change math.class all.use.each.this 
 $(".mathT").html(  "v1234"  )  ; //   + 
 $().ready( function(){ $("#mathF").focus();} ) ;  // focus
 
 // bad $(".mathT").html(  $("#mathL").val()+"v2"  )  ;  
 
 //   / 
 
 </script>
 

<form id="form1">
  First name: 
 <input type="text" name="fname"  id="mathF"> in1 </input>
  fn1<br />
  Last name: 
 <input type="text" name="lname" id="mathL" /> <br />
  
  t1 
      <textarea rows="2" cols="20">
     XML, SQL, ASP, and PHP. 
     line2
     </textarea>
  <input type="submit" value="Go" />
  
</form>
